package com.demo.cms.model;

/**
 * 图片切割模型
 * @author ryuu.kk
 *
 */
public class Crop implements java.io.Serializable {
	
	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = 8657495051739398935L;
	
	/**
	 * 图片ID
	 */
	private Long id;
	
	/**
	 * 图片路径
	 */
	private String dir;
	
	/**
	 * 切割后路径
	 */
	private String out;
	
	/**
	 * 执行状态
	 */
	private String status = "error";
	
	/**
	 * 坐标X
	 */
	private int x;
	
	/**
	 * 坐标Y
	 */
	private int y;
	
	/**
	 * 宽度W
	 */
	private int w;
	
	/**
	 * 宽度H
	 */
	private int h;
	
	/**
	 * 缩略宽度W
	 */
	private int rw;
	
	/**
	 * 缩略高度H
	 */
	private int rh;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getDir() {
		return dir;
	}
	public void setDir(String dir) {
		this.dir = dir;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public int getW() {
		return w;
	}
	public void setW(int w) {
		this.w = w;
	}
	public int getH() {
		return h;
	}
	public void setH(int h) {
		this.h = h;
	}
	public int getRw() {
		return rw;
	}
	public void setRw(int rw) {
		this.rw = rw;
	}
	public int getRh() {
		return rh;
	}
	public void setRh(int rh) {
		this.rh = rh;
	}
	public String getOut() {
		return out;
	}
	public void setOut(String out) {
		this.out = out;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}